//
//  LBPlayViewController
//  app
//
//  Created by 刘文扬 on 2018/3/26.
//Copyright © 2018年 刘文扬. All rights reserved.
//

#import "LBPlayViewController.h"

#import <LBAVPlayerView.h>

#import <Masonry.h>

@interface LBPlayViewController ()

/** playerView*/
@property(nonatomic,strong)LBAVPlayerView *playerView;

@end

@implementation LBPlayViewController

#pragma mark - getter / setter

-(LBAVPlayerView *)playerView
{
    if (_playerView == nil) {
        
        _playerView = [[LBAVPlayerView alloc] init];
        
    }
    return _playerView;
}

#pragma mark - life cycle
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
}

- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
}

- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
}

- (void)viewDidDisappear:(BOOL)animated{
    [super viewDidDisappear:animated];
}
- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self.view addSubview:self.playerView];
    
    [self.playerView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.insets(UIEdgeInsetsZero);
    }];
}

#pragma mark - override

#pragma mark - model event

#pragma mark - view event

#pragma mark - public

#pragma mark - private

#pragma mark - delegate

#pragma mark - other
@end
